	<div class="location">当前位置：
		<?php echo $this->Html->link('首页',citylink('Index','index',false,false)); ?> &gt; 
		<?php echo $this->Html->link($ticket['TicketCate']['title_zh'],citylink('Tickets','index',false,false)+array('cate'=>$ticket['TicketCate']['id']))?> &gt; 
		<?php 
			if($ticket['TicketScate']['id']){
				echo $this->Html->link($ticket['TicketScate']['title_zh'],citylink('Tickets','index',false,false)+array(
						'cate'=>$ticket['TicketCate']['id'],'scate'=>$ticket['TicketScate']['id'])).'&gt;';
			}
		?>
		<span><?php echo $ticket['Ticket']['title']?></span>
	</div>
    <div class="content">
    	<div class="conLeft floatl Box">
			<div class="showPro">
            	<div class="showImg floatl">
            		
            		<?php 
            			if($ticket['Ticket']['ticket_corner'] == 1){
							echo '<span class = "ticket_corner_1"></span>';
						}else if($ticket['Ticket']['ticket_corner'] == 2){
							echo '<span class = "ticket_corner_2"></span>';
            			};
            			if($ticket['ViewPhoto']['id']){
            				$pic = $ticket['ViewPhoto']['file_path'];
            			}else{
            				$pic = 'default/gmimg.jpg';
            			}
            			echo $this->Html->image($pic,array(
								'width'=>'226px',
								'height'=>'338px',
								'title'=>$ticket['Ticket']['title'],
								'alt'=>$ticket['Ticket']['title']
						));
            		?>
            	</div>
                <div class="showInfo floatl">
                	<dl>
                    	<dt id = 'ask_title'><?php echo $ticket['Ticket']['title']?></dt>
                        <dd>时间：<?php 
                        			echo $ticket['Ticket']['showtime'];
                        			if($ticket['Ticket']['endtime'] != '')
                        			echo ' 至 '.$ticket['Ticket']['endtime'];
                        		?>
                        </dd>
                        <dd>场馆：<?php echo $this->Html->link($ticket['Venue']['title_cn'],
								            		citylink('Venues','view')+array($ticket['Venue']['id']),
								            		array('title'=>$ticket['Venue']['title_cn'],'target'=>'_blank'));
								?>
						</dd>
                        <?php if($ticket['Ticket']['spt_eticket']){ ?>
                        <dd>支持：电子票</dd>
                        <?php }?>
                    </dl>
                    <div class="ticketmodel">
                    	<?php if($ticket['Ticket']['spt_seat']):?>
                    		<?php echo $this->element('index/seatTicketPrice',array('ed'=>$ticket['Ticket']['date_end'],'ticket_id'=>$ticket['Ticket']['id']))?>
                    	<?php else:?>
							<?php echo $this->element('index/newTicketPrice',array('tp'=>$ticket['TicketPrice'],'ed'=>$ticket['Ticket']['date_end'],'ticket_id'=>$ticket['Ticket']['id']))?>
                       <?php endif;?>
                    </div>
                    <div class="clear"></div>
                   <?php echo $this->element('block/jiathis')?>
                </div>            
            </div>
            <div class="clear"></div>
            <?php echo $this->Html->script(array('default/ta'))?>
            <div class="showDetail" id="tabs">
            	<ul class="showTabsTitle">
                	<li class="tab_selected">
                		<?php echo $this->Html->link('演出详情',TicketView($ticket)+array('#'=>'ycxq'))?>
                	</li>
                    <li class="">
                    	<?php echo $this->Html->link('相关咨询',TicketView($ticket)+array('#'=>'xgzx'))?>
                    </li>
                    <li class="">
                    	<?php echo $this->Html->link('购票提醒',TicketView($ticket)+array('#'=>'gptx'))?>
                    </li>
                </ul>
                <div class="showContentbox" style="display: block;">
                	<?php echo $ticket['Ticket']['content']?>
                </div>
                <div class="showContentbox" style="display: none;">
                	<div class="consult">
                		<ul class="zxList" style = 'border:none;padding:0'>
                			<?php foreach($ticket['TicketAdvisory'] as $ta):?>
			            	<li>
			                	<h6>
			                		<em>
			                		<?php echo $ta['question_local']?>
			                		[<?php echo $ta['question_ip']?>]
			                		</em> 
			                		发表于：<?php echo date('Y-m-d',strtotime($ta['created']))?></h6>
			                    <p class="txtQ"><?php echo $ta['question']?></p>
			                    <p class="txtA"><?php echo $ta['answer']?></p>
			                </li>
			                <?php endforeach;?>
			            </ul>
                	
                        <div class="clear"></div>
                    	<h5>如果有任何疑问请发表咨询，我们会在第一时间给您答复。您的咨询回复后才会显示，请不要重复提交。
                    		<?php echo $this->Html->link('更多&gt;&gt;',citylink('TicketAdvisories')+array('ticket'=>$ticket['Ticket']['id']),array('escape'=>false))?>
                    	</h5>
                    	<?php echo $this->Form->create('TicketAdvisory',array('onsubmit'=>'return false'))?>
                    	<ul>
                        	<li>
                        		<span>您的称呼：</span> 
                        		<?php if(!empty($Auth)):?>
				                	<?php 
				                		$showname = ($Auth['name'])?$Auth['name']:$Auth['email'];
				                		echo $this->Html->link($showname,citylink('Users','index'));
				                		echo $this->Form->input('user_id',array('type'=>'hidden','value'=>$Auth['id']));
				                	?> | 
					                <?php echo $this->Html->link('退出',citylink('Users','logout'))?>
				                <?php else :?>
	                        		您目前是匿名发表 
	                        		<?php echo $this->Html->link('登录',citylink('Users','login'))?>
	                        		 | 
	                        		<?php echo $this->Html->link('注册',citylink('Users','register'))?>
                        		<?php endif;?>
                        	</li>
                            <li><span>您的问题：</span>
                            	<?php echo $this->Form->input('question',array('type'=>'textarea','label'=>false,'div'=>false))?>
                            	<?php echo $this->Form->input('ticket_id',array('type'=>'hidden','value'=>$ticket['Ticket']['id']));?>
                            </li>
                            <li><span>验 证 码：</span>
                            	<?php echo $this->Form->input('authcode',array('class'=>'yzm','label'=>false,'div'=>false))?>
                            	<img id = 'auth_code' class = 'yzmImg'
	                        		base_src = '<?php echo $this->Html->url(array('controller'=>'AuthCode','action'=>'getCode','feedback'))?>'
	                        		src = '<?php echo $this->Html->url(array('controller'=>'AuthCode','action'=>'getCode','feedback'))?>' 
								/>
                            </li>
                            <li class="tijiao" >
                            	<input onclick = "ta.submit()" type="button" value="提交" />
                            </li>
                        </ul>
                        <?php echo $this->Form->end();?>
                    </div>
                </div>
                <div class="showContentbox" style="display: none;">
                	<?php echo $this->element('block/know')?>
                </div>
                <script type="text/javascript">
				<!--
					$('#tabs').GTab();
				//-->
				</script>
            </div>
            <?php if(!empty($relateArticle)||!empty($relateTicket)):?>
        	<div class="showDetail">
        		<ul class="showTabsTitle">
                	<li class="tab_selected" style = 'color:#fff'>
                		相关阅读
                	</li>
                </ul>
                <div class="showContentbox" style="padding:0;min-height:100px;height:auto;display: block;">
                	<ul class="newsList" style = 'padding:15px 0 0 0'>
                	<?php foreach ($relateTicket as $ticketr):?>
                	<li>
	                    	<?php echo $this->Html->link($ticketr['Ticket']['title'].'　<font color=green>[票]</font>',
											TicketView($ticketr),
											array('title'=>$ticketr['Ticket']['title'],'target'=>'_blank','escape'=>false)
									  )
								?>
	                     <em style = ''><?php echo $ticketr['Ticket']['showtime']?></em>
	                </li>
                	<?php endforeach;?>
                	<?php foreach ($relateArticle as $article):?>
                	<li>
	                    	<?php echo $this->Html->link($article['Article']['title'],
											ArticleView($article),
											array('title'=>$article['Article']['title'],'target'=>'_blank')
									  )
								?>
	                     <em style = ''><?php echo $article['Article']['publish']?></em>
	                </li>
                	<?php endforeach;?>
                	</ul>
                </div>
        	</div>
        	<?php endif;?>
        	<!-- new baidu tuijian start -->
        	<script>document.write(unescape('%3Cdiv id="hm_t_31597" style="margin:0 0 20px 25px;" %3E%3C/div%3E%3Cscript charset="utf-8" src="http://crs.baidu.com/t.js?siteId=6de063305c3e6b472fcacf7d09deaef5&planId=31597&async=0&referer=') + encodeURIComponent(document.referrer) + '&title=' + encodeURIComponent(document.title) + '&rnd=' + (+new Date) + unescape('"%3E%3C/script%3E'));</script>
        	<!-- new baidu tuijian end   -->
        </div>
        <div class="conRight floatr"> 
        	<?php echo $this->element('index/ticketCate')?>
        	<!-- must -->
        	<?php echo $this->element('block/must')?>
            <!-- ---- -->
            <!-- weibo -->
            <?php echo $this->element('block/blog')?>
            <!-- ---- --> 
            <!-- 最新发布 -->
            <?php echo $this->element('block/newAandT')?>
            <!-- ---- -->
            <!-- 推荐票品 -->
            <?php echo $this->element('block/recommondTicket')?>
            <!-- ---- -->
            <!-- 最近浏览 -->
            <?php echo $this->element('block/recentTicket')?>
            <!-- ---- -->
            <!-- 查看地图 -->
            <?php echo $this->element('block/map',array('VenueMap'=>$ticket['Venue']))?>
            <!-- ---- -->
        </div>
    </div>	
    
    <style>
<!--
.showContentbox{overflow:hidden;}
.showDetail img{max-width:720px;}

-->
</style>
    
